package com.platform.service;

import com.platform.entity.AuditEntity;
import com.platform.utils.Query;

import java.util.List;
import java.util.Map;

/**
 * @program:
 * @Description: 会员管理:审核管理 包含未审核 及 审核通过
 * @Author: liweihai
 * @Date: Created in 2019/1/21 18:39
 */
public interface AuditService {

    List<AuditEntity> selectList(Query query);

    int count(Query query);

    AuditEntity selectById(Integer id);

    boolean  updateById(Integer id,Integer status);

    boolean deleteById(Integer id);

    List<AuditEntity> queryList(Map<String, Object> params);

    boolean deleteBatch(Integer[] ids);

    List<AuditEntity> selectListPass(Query query);

    AuditEntity selectPassById(Long id);

    int countPass(Query query);


    boolean deleteBatchPass(Integer[] ids);

    int save(AuditEntity entity);

    int update(AuditEntity entity);

    boolean checkAudit(Long id);
}
